package com.lhf.azkaban.springbatch.example.mapper;

import com.lhf.azkaban.springbatch.example.mode.RepayOrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author:95780
 * @Date: 18:35 2019/11/20
 * @Description:
 */
@Mapper
public interface RepayOrderInfoMapper {
    /**
     * 保存RepayOrderInfo
     * @param repayOrderInfo
     */
    void saveRepayOrderInfo(RepayOrderInfo repayOrderInfo);

    /**
     * 批量保存RepayOrderInfo
     * @param list
     */
    void saveRepayOrderInfoBatch(List<RepayOrderInfo> list);

    /**
     * 根据id删除RepayOrderInfo
     * @param id
     */
    void deleteRepayOrderInfo(int id);

    /**
     * 获取RepayOrderInfo列表
     * @param repayOrderInfo
     * @return
     */
    List<RepayOrderInfo> getRepayOrderInfoList(RepayOrderInfo repayOrderInfo);
}
